package edu.dlnu.newbootdemo.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.stereotype.Repository;

import java.util.List;

@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
@Repository
public class Subject {
    private Integer sid;

    private String sname;

    // 多个班级
    private List<Classes> classes;
}